package com.wy.panda.controller.ro;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 数据字典响应领域模型
 * @author wangyuan
 * @since 2021-03-27 13:27:03
 */
@ApiModel("数据字典")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@SuperBuilder
public class SysDictRO implements Serializable {

    private static final long serialVersionUID = -70866737467305128L;
    
    @ApiModelProperty("数据字典主键")
    private Long id;
    
    @ApiModelProperty("字典名称")
    private String dictName;
    
    @ApiModelProperty("字典类型")
    private String dictType;
    
    @ApiModelProperty("字典Code")
    private String dictCode;
    
    @ApiModelProperty("字典Value")
    private String dictValue;
    
    @ApiModelProperty("备注")
    private String remark;
    
    @ApiModelProperty("序号")
    private Integer sort;
    
    @ApiModelProperty("创建者")
    private String createdUser;
    
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;
    
    @ApiModelProperty("更新者")
    private String updatedUser;
    
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;
    
}